package models;
 
import java.util.*;
import javax.persistence.*;
 
import play.db.jpa.*;
 
@Entity
public class Comment extends Model {
   @ManyToOne
    public User user;
    public Date pDate;
    @Lob
    public String content;
    

    
    public Comment(String content, User user) {
        this.user = user;
        this.content = content;
        this.pDate = new Date();
    }
}